<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>

<table class="table-info" cellpadding="0" cellspacing="1" width="100%">
	<tr>
		<th colspan="7"><h2>流程信息</h2></th>
	</tr>
	<tr>
		<th style="width:40px">序号</th>
		<th style="width:150px">流程名称</th>		
		<th style="width:100px">操作人</th>
		<th style="width:200px">操作人单位</th>
		<th style="width:50px">操作时间</th>
		<th style="width:40px">状态</th>
		<th>审批意见</th>
	</tr>
	
	<c:forEach var="opinion" items="${opinions}" varStatus="idx">
	<tr>
		<td align="center">${idx.index+1}</td>
		<td align="center">${opinion.name}</td>
		<td align="center">
			<c:if test="${subject.status<5}">（不可见）</c:if>
			<c:if test="${subject.status>=5}">${opinion.checkUser.fullname}</c:if>
		</td>
		<td align="center">${opinion.checkDept.depName}</td>
		<td style="width:130px" align="center"><fmt:formatDate value="${opinion.checkTime}" pattern="yyyy-MM-dd HH:mm"/></td>
		<td align="center">
			<c:if test="${opinion.pass==0}">
				<img src="<%=request.getContextPath()%>/images/btn/clear.png"/>
			</c:if>
			<c:if test="${opinion.pass==1}">
				<img src="<%=request.getContextPath()%>/images/btn/ok.png"/>
			</c:if>
		</td>
		<td style="word-wrap:break-word;word-break:break-all;">${opinion.opinion}</td>
	</tr>
	</c:forEach>


</table>
